﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>VisioDent</title>
</head>
<body>
   <!-- GUI -->
   <input type="button" id="ButSend" value="Send" onclick='TransmitStringToApplet();'/>

   <script src="http://www.java.com/js/deployJava.js" type="text/javascript"></script>
        <script type="text/javascript">
             var attributes = { id: 'ssvApplet', code: 'visiodent.assvapi.class',
                 archive: 'Applet/SSV/VisiodentApplet.jar',
                 scriptable: true,
                 width: 800, height: 325
             };
             
             var parameters = { fontSize: 16 };
             var version = '1.7';
             deployJava.runApplet(attributes, parameters, version); 
   </script>  
   
   <!-- Functions to communicate with applet -->
   <script type="text/javascript">
  
    function TransmitStringToApplet()
    {         
        ssvApplet.TransmitString("Test from web", "C:\\Windows\\galsstest.ini");      
    }
    </script>

</body>
</html>
